$OpenBSD: patch-kontact_plugins_knotes_CMakeLists_txt,v 1.2 2015/07/02 00:10:16 zhuk Exp $
Fix linking.
--- kontact/plugins/knotes/CMakeLists.txt.orig	Thu Jun 25 20:47:38 2015
+++ kontact/plugins/knotes/CMakeLists.txt	Mon Jun 29 12:53:27 2015
@@ -31,17 +31,17 @@ kde4_add_plugin(kontact_knotesplugin ${kontact_knotesp
 
 target_link_libraries(kontact_knotesplugin 
                       knotesprivate 
+                      noteshared 
+                      akonadi_next
+                      kdepim 
+                      pimcommon 
                       ${KDEPIMLIBS_KCALCORE_LIBS} 
                       ${KDEPIMLIBS_KCALUTILS_LIBS} 
                       ${KDEPIMLIBS_KONTACTINTERFACE_LIBS} 
                       ${KDE4_KDEPRINT_LIBS} 
                       ${KDE4_KPARTS_LIBS} 
-                      kdepim 
                       ${KDE4_KPRINTUTILS_LIBS} 
-                      pimcommon 
                       ${KDE4_KDNSSD_LIBS} 
-                      noteshared 
-                      akonadi_next
 )
 
 ########### install files ###############
@@ -50,7 +50,7 @@ set(kcm_knotessummary_PART_SRCS kcmknotessummary.cpp )
 
 kde4_add_plugin(kcm_knotessummary ${kcm_knotessummary_PART_SRCS})
 
-target_link_libraries(kcm_knotessummary ${KDE4_KDEUI_LIBS} ${KDEPIMLIBS_KMIME_LIBS} ${KDEPIMLIBS_AKONADI_LIBS} ${KDEPIMLIBS_AKONADI_NOTES_LIBS} pimcommon)
+target_link_libraries(kcm_knotessummary pimcommon ${KDEPIMLIBS_AKONADI_NOTES_LIBS} ${KDEPIMLIBS_AKONADI_LIBS} ${KDEPIMLIBS_KMIME_LIBS} ${KDE4_KDEUI_LIBS})
 
 
 install(TARGETS kcm_knotessummary DESTINATION ${PLUGIN_INSTALL_DIR})
